projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0cf137
)
Fix DND onto an empty icon view
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Jul 2009 17:29:07 +0000
(13:29 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Jul 2009 17:30:37 +0000
(13:30 -0400)
This did not work due to a copy and paste bug from the time when
the treeview DND code was turned into iconview DND code. Fixes
bug 599484.
gtk/gtkiconview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconview.c
b/gtk/gtkiconview.c
index 865b8d56be2f7067a4dc8b64c1b9997bbc993128..d5fb9e0cce6a31b2726b1814affee9e066fa2a5e 100644
(file)
--- a/
gtk/gtkiconview.c
+++ b/
gtk/gtkiconview.c
@@
-7155,7
+7155,7
@@
gtk_icon_view_set_drag_dest_item (GtkIconView *icon_view,
/* special case a drop on an empty model */
icon_view->priv->empty_view_drop = FALSE;
- if (pos == GTK_
TREE_VIEW_DROP_BEFOR
E && path
+ if (pos == GTK_
ICON_VIEW_DROP_ABOV
E && path
&& gtk_tree_path_get_depth (path) == 1
&& gtk_tree_path_get_indices (path)[0] == 0)
{